package com.itheima.config;

import org.springframework.context.annotation.*;

@Configuration //用在类上，表示该类是一个spring配置类，代替`applicationContext.xml`配置文件
@ComponentScan("com.itheima") //配置spring包扫描，相当于`<context:component-scan base-package="com.itheima"/>
@PropertySource("classpath:jdbc.properties")
@EnableAspectJAutoProxy //<aop:aspectj-autoproxy/>
@Import({JdbcConfig.class,MybatisConfig.class})
public class SpringConfiguration {
}
